Accessible JavaScript

James Nurthen

Oracle

History

Section 508
1194.22(l) When pages utilize scripting languages to display content, or to create interface elements, the information provided by the script shall be identified with functional text that can be read by assistive technology.
WCAG1
6.3 Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page. [Priority 1]

Myths

The Reality

Common Problems

Relevant WCAG 2 Guidelines

WCAG 2 Principles

Perceivable

Operable

Operable - Triggering Events (2.1.1)

Operable - Secondary Events (2.1.1)

Operable - Time Limits (2.2.1)

Operable - Moving Information(2.2.2)

Operable - Hiding/Showing content(2.4.1)

Operable - Focus Order(2.4.3)

Operable - Focus Order - Tips

Operable - Focus Order - Complex Widgets

Operable - Focus Visibility(2.4.7)

Understandable

Understandable -
On Focus (3.2.1), On Input(3.2.2)


Understandable - On Focus , On Input

Understandable - Errors(3.3.1)

Understandable - Errors

Understandable - Notification

Robust (4.1.2)

Accessible JavaScript

Summary